package cn.tedu.mall.producer.repo;



import cn.tedu.mall.producer.pojo.vo.BrandDetailVO;
import cn.tedu.mall.producer.pojo.vo.BrandListItemVO;

import java.util.List;

public interface IBrandRepository {

    String KEY_PREFIX_BRAND_ITEM = "brand:item:";
    String KEY_BRAND_LIST = "brand:list";

    void put(BrandDetailVO brandDetailVO);

    BrandDetailVO get(Long id);

    void deleteItem(Long id);

    void putList(List<BrandListItemVO> list);

    List<BrandListItemVO> getList();

    void deleteList();

}
